<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>找回密码</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link href="<?php echo $mcfg_basehost; ?>/m-css/m-index.css" rel="stylesheet" type="text/css">
<link href="<?php echo $mcfg_basehost; ?>/m-css/m-user-index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo $mcfg_basehost; ?>/m-js/jquery.js"></script>
<script type="text/javascript">
function checkSubmit()
{	if(document.form2.txtUsername.value=='')
	{
		document.form2.txtUsername.focus();
		alert("账号不能为空");
		return false;
	}	
	if (!/^[0-9A-Za-z]{5,11}$/i.test($("#txtUsername").val())) {
		alert("账号不正确，账号为5-11位数字或字母");return false;}
		if(document.form2.mobilecode.value=='')
	{
		document.form2.mobilecode.focus();
		alert("手机验证码不能为空");
		return false;
	}
}
</script>
<style type="text/css">
body{background:#fff;}
.yxw-resetuserid{position:relative;}
.input_container{padding:0 10px;margin-bottom:20px;}
.input_container label{line-height:26px;height:26px;font-size:14px;display:block;padding-bottom:10px;}
.w200{width:100%;line-height:18px;font-size:14px;color:#333;background:#f3f7fa;padding:16px 12px;box-sizing:border-box;border-radius:3px;}
.w300{width:120px;height:50px;line-height:50px;right:10px;top:0;border-radius:3px;position:absolute;background:#f3f7fa;color:#297dcc;font-size:14px;-webkit-appearance:none;}
.w400{width:100%;line-height:18px;font-size:14px;color:#333;background:#f3f7fa;padding:16px 12px;box-sizing:border-box;border-radius:3px;}
.w500{margin:25px 10px 0 10px;}
.w600{width:100%;height:46px;line-height:46px;font-size:14px;display:inline-block;cursor:pointer;color:#fff;border-radius:22px !important;}
.qrdditem{padding-top:20px !important;}

/*重写H1标签*/
.user-h1{text-align:center;font-size:20px;font-weight:400;}
.jjweixinBtn{position:fixed;right:15px;bottom:150px;width:40px;height:40px;background:#fff url(<?php echo $mcfg_basehost; ?>/m-images/list-fanhui.png) center no-repeat;background-size:25px 25px;border-radius:50%;box-shadow:0px 5px 11px 0px rgba(0,0,0,0.07);opacity:0.7;display:none;}
</style>
</head>
<body>

<div class="wrapper" style="padding-top:20px;">
<div class="user-h2" style="text-align:center;font-size:20px;margin:20px 0;"><a href="<?php echo $mcfg_basehost; ?>"><img src="<?php echo $mcfg_basehost; ?>/m-images/m-logo-x.png" style="width:90px;height:100%;margin:0 auto;display:inline-block;"></a></div>
<h1 class="user-h1">找回密码</h1>
<!-- 找回密码 -->
<div class="mima-content qrdditem">
<form name='form2' method='POST' action='resetpassword.php' onsubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="getpasswd">
<input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
<div class="input_container"><input id="txtUsername" class="w400" type="text" name="userid" placeholder="请输入已注册的账号"></div>
<div class="input_container"><input id="userpwdok" class="w400" type="text" name="userpwdok" placeholder="请再次确认你的账号"></div>
<div class="input_container yxw-resetuserid">
<input type="text" class="w200" id="vdcode" name="vdcode" placeholder="请输入验证码" autocomplete="off">
<img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="position:absolute;top:5px;right:15px;cursor:pointer;" src="<?php echo $mcfg_basehost; ?>/vdimgck.php"/>
</div>
<div class="w500"><button class="w600" type="submit">下一步</button></div>
</form>
</div>
<!-- 找回密码 End -->

</div>

</body>
</html>